<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/head.css">
	<script src="./js/jqery-3.5.1.min.js"></script>
    <script src="./js/LoopSlider.js"></script>
    <script src="https://cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
</head>
<body>
    <div id="top">
        <div id="topleft">
            <!--<img src="img/doge.png" alt="logo">-->
        </div>
        <div id="topmid">
            <input type="text" id="searchinput" placeholder="搜索" style="border:none;">
        </div>
        <div id="topright">
            <div style="flex:1"></div>
            <a class="topicon tooltip" href=""  id="shoppingcar" onclick=jumptomycart()>
                <svg t="1605864400644" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2801" width="200" height="200"><path d="M273.9 842a60 60 0 1 0 120 0 60 60 0 1 0-120 0zM733.9 842a60 60 0 1 0 120 0 60 60 0 1 0-120 0zM807.4 732H321.2c-17.8 0-34.8-6.7-47.8-18.8s-20.8-28.6-22.1-46.4L215.9 152h-72c-16.6 0-30-13.4-30-30s13.4-30 30-30h100c15.8 0 28.8 12.2 29.9 27.9l7.7 112.1H840c19.6 0 38.5 8.3 51.7 22.8 13.2 14.5 19.8 34 18 53.5l-32.7 360c-1.6 17.4-9.6 33.5-22.5 45.4-12.9 11.8-29.6 18.3-47.1 18.3zM285.7 292l25.6 370.7c0.1 1.8 0.8 4.4 3.2 6.6 2.4 2.2 5 2.7 6.8 2.7h486.1c1.8 0 4.4-0.5 6.7-2.6 2.4-2.2 3.1-4.7 3.2-6.5l32.7-360c0.1-1.6 0-4.8-2.6-7.6s-5.7-3.3-7.4-3.3H285.7z" p-id="2802" fill="#ffffff"></path></svg>
                <span class="tooltiptext">我的购物车</span>
            </a>
            <a class="topicon tooltip" href="" id="sale" onclick=jumptomymills()>
                <svg t="1605864452023" class="icon"  viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1200" width="200" height="200"><path d="M845 178.5H177.6c-22.4 0-40.5 17.6-40.5 39.4V454.2c0 4.6 1 8.9 2.5 12.9 6.8 34.8 27.8 64.3 56.7 83.2v278c0 21.7 17.6 39.4 39.4 39.4h551.4c21.7 0 39.4-17.6 39.4-39.4v-278c28.8-18.9 49.9-48.4 56.7-83.2 1.5-4.1 2.4-8.4 2.4-12.9V217.8c-0.1-21.8-18.2-39.3-40.6-39.3z m-77.7 630.1h-512V571.1c4.4 0.4 8.8 1.2 13.3 1.2 54.2 0 100.8-32.5 120.9-78.8h0.9c20.1 46.3 66.6 78.8 120.9 78.8 54.2 0 100.8-32.5 120.9-78.8h0.9c20.1 46.3 66.6 78.8 120.9 78.8 4.5 0 8.9-0.7 13.3-1.2v237.5z m59.1-421.7V450l-0.5 1.3-0.9 4.5c-6.4 33.2-36.3 57.4-71.1 57.4-29.1 0-55.3-17-66.7-43.2l-15.4-35.6h-77.6L578 470c-11.4 26.2-37.5 43.2-66.7 43.2-29.2 0-55.4-17-66.7-43.2l-15.4-35.6h-77.6L335.4 470c-11.4 26.2-37.6 43.2-66.7 43.2-34.7 0-64.6-24.1-71.1-57.4l-0.8-4.5-0.5-1.3V237.5h630.2v149.4z" fill="#ffffff" p-id="1201"></path></svg>
                <span class="tooltiptext">商家端</span>
            </a>
            <a  class="topicon tooltip" href="" id="account" onclick=jumptologinorhome()>
                <svg t="1605611214598" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="15371" width="200" height="200"><path d="M923.3 754.7c-22.4-50-54.4-94.8-95.2-133.2-40.6-38.3-87.8-68.3-140.4-89.3-11-4.4-22.1-8.3-33.4-11.8 12.7-8.7 24.6-18.6 35.7-29.7 47.1-47.1 73-109.6 73-176.2 0-66.5-25.9-129.1-73-176.2-47.1-47.1-109.6-73-176.2-73s-129.1 25.9-176.2 73c-47.1 47.1-73 109.6-73 176.2 0 66.5 25.9 129.1 73 176.2 10.8 10.8 22.3 20.4 34.6 28.9-12.1 3.7-24.1 7.9-36 12.6-52.6 21-99.8 51-140.4 89.3-40.8 38.4-72.8 83.2-95.2 133.2-23.3 51.9-35.1 107-35.1 163.9 0 22.1 17.9 40 40 40s40-17.9 40-40c0-186.9 162.4-339 361.9-339h8.9c199.6 0 361.9 152.1 361.9 339 0 22.1 17.9 40 40 40s40-17.9 40-40c0.2-56.8-11.6-112-34.9-163.9zM513.9 145.4c93.3 0 169.1 75.9 169.1 169.1s-75.9 169.1-169.1 169.1-169.1-75.9-169.1-169.1 75.8-169.1 169.1-169.1z" p-id="15372" fill="#ffffff"></path></svg>
                <span class="tooltiptext">我的账户</span>
            </a>
        </div>
    </div>
    <div style="height: 54px;"></div>
    <div id="middle">
        <div class="content">
			<img src="./img/ad.png">
			<img src="./img/adv.png">
		</div>
		<script>
			LoopSlider.init({
				el: ".content", //选择器
				navigator: {
					//前进后退按钮
					prevEl: ".prev",
					nextEl: ".next"
				},
				easing: "ease", //动画效果cubic-bezier(0.985, -0.060, 0.000, 1.320)
				duration: 300, //过渡时间，默认为3000ms,
				autoplay: 2000, //boolean 和 number 设置为true 默认延时为3s,如果设置为1000，延时为1s
			})
		</script>
    </div>
    <div style="height: 24px;"></div>
    <div id="bottom">
        <div class="goods" id="goods-1">
            <img src="img/doge.png" alt="">
            <div class="goodsname">DOGE</div>
            <div class="price">&yen;5</div>
            <div class="sellername">
                <svg t="1605618008222" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2963" width="16" height="16"><path d="M889.583614 155.560962c-1.786693-7.514137-2.490727-11.777231-4.848424-15.61463l-0.001024-0.002046h-0.001023c-4.973268-7.223518-13.295817-11.962449-22.728654-11.96245h-700.596356c-9.432837 0-17.756409 4.738931-22.728654 11.96245h-0.001023l-0.001023 0.002046c-2.358721 3.837398-3.061732 8.100492-4.848425 15.61463-1.786693 7.514137-69.845765 292.554032-69.845765 292.554032v7.653307c0 46.38954 26.00835 86.708827 63.960731 106.651019v301.108872c0 17.662265 14.3181 31.980365 31.980365 31.980365h703.567014c17.662265 0 31.980365-14.3181 31.980365-31.980365V562.41932c37.95238-19.942191 63.960731-60.261479 63.960731-106.651019v-7.653307c-0.002047 0-68.062142-285.039895-69.848835-292.554032zM383.78485 831.54885V703.627389h255.842922v127.921461H383.78485z m319.80263-159.901827c0-17.662265-14.3181-31.980365-31.980366-31.980365H351.804485c-17.662265 0-31.980365 14.3181-31.980366 31.980365v159.901827H191.902658v-256.287038c28.062126-2.434445 53.350069-14.914688 72.362075-33.897017 21.267373 21.233604 50.384527 34.342156 82.45699 34.342156 32.072463 0 61.189617-13.107529 82.458013-34.342156 21.055548 21.022803 49.807383 34.072003 81.502246 34.329876v0.011256l0.068561 0.001024c0.148379 0 0.294712-0.005117 0.443092-0.005117 0.147356 0.001023 0.294712 0.005117 0.442068 0.005117l0.068562-0.001024v-0.011256c31.715329-0.257873 61.470003-13.30605 82.525551-34.329876 21.268396 21.233604 50.384527 34.342156 82.458014 34.342156 32.072463 0 61.189617-13.107529 82.45699-34.342156 19.012006 18.98233 44.299949 31.461549 72.362074 33.897017v256.287038H703.58748v-159.901827z m132.265396-159.911036c-29.943986 0-54.220902-24.536836-54.220902-54.801117 0-15.131629-12.108782-27.370371-27.080776-27.370371-14.971993 0-27.080775 12.238742-27.080775 27.370371 0 30.264281-24.276916 54.801117-54.220902 54.801117-29.943986 0-54.220902-24.536836-54.220902-54.801117 0-15.131629-12.108782-27.370371-27.080776-27.370371-14.971993 0-27.080775 12.238742-27.080775 27.370371 0 30.264281-24.276916 54.801117-54.220902 54.801117-29.943986 0-54.220902-24.536836-54.220902-54.801117 0-15.131629-12.108782-27.370371-27.080776-27.370371-14.971993 0-27.080775 12.238742-27.080775 27.370371 0 30.264281-24.276916 54.801117-54.220902 54.801117-29.943986 0-54.220902-24.536836-54.220902-54.801117 0-15.131629-12.108782-27.370371-27.080775-27.370371-14.971993 0-27.080775 12.238742-27.080776 27.370371 0 30.264281-24.276916 54.801117-54.220902 54.801117s-57.494459-33.68724-57.494459-63.951521l62.50559-255.842922h640.513955l64.508199 255.842922c-0.00307 30.264281-29.67588 63.951521-59.619865 63.951521z" p-id="2964" fill="#d81e06"></path></svg>
                Homestar Runner
            </div>
            <div class="salevol">销量：2333</div>
        </div>
        <div class="goods" id="goods-2">
            <img src="img/doge.png" alt="">
            <div class="goodsname">DOGE</div>
            <div class="price">&yen;5</div>
            <div class="sellername">
                <svg t="1605618008222" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2963" width="16" height="16"><path d="M889.583614 155.560962c-1.786693-7.514137-2.490727-11.777231-4.848424-15.61463l-0.001024-0.002046h-0.001023c-4.973268-7.223518-13.295817-11.962449-22.728654-11.96245h-700.596356c-9.432837 0-17.756409 4.738931-22.728654 11.96245h-0.001023l-0.001023 0.002046c-2.358721 3.837398-3.061732 8.100492-4.848425 15.61463-1.786693 7.514137-69.845765 292.554032-69.845765 292.554032v7.653307c0 46.38954 26.00835 86.708827 63.960731 106.651019v301.108872c0 17.662265 14.3181 31.980365 31.980365 31.980365h703.567014c17.662265 0 31.980365-14.3181 31.980365-31.980365V562.41932c37.95238-19.942191 63.960731-60.261479 63.960731-106.651019v-7.653307c-0.002047 0-68.062142-285.039895-69.848835-292.554032zM383.78485 831.54885V703.627389h255.842922v127.921461H383.78485z m319.80263-159.901827c0-17.662265-14.3181-31.980365-31.980366-31.980365H351.804485c-17.662265 0-31.980365 14.3181-31.980366 31.980365v159.901827H191.902658v-256.287038c28.062126-2.434445 53.350069-14.914688 72.362075-33.897017 21.267373 21.233604 50.384527 34.342156 82.45699 34.342156 32.072463 0 61.189617-13.107529 82.458013-34.342156 21.055548 21.022803 49.807383 34.072003 81.502246 34.329876v0.011256l0.068561 0.001024c0.148379 0 0.294712-0.005117 0.443092-0.005117 0.147356 0.001023 0.294712 0.005117 0.442068 0.005117l0.068562-0.001024v-0.011256c31.715329-0.257873 61.470003-13.30605 82.525551-34.329876 21.268396 21.233604 50.384527 34.342156 82.458014 34.342156 32.072463 0 61.189617-13.107529 82.45699-34.342156 19.012006 18.98233 44.299949 31.461549 72.362074 33.897017v256.287038H703.58748v-159.901827z m132.265396-159.911036c-29.943986 0-54.220902-24.536836-54.220902-54.801117 0-15.131629-12.108782-27.370371-27.080776-27.370371-14.971993 0-27.080775 12.238742-27.080775 27.370371 0 30.264281-24.276916 54.801117-54.220902 54.801117-29.943986 0-54.220902-24.536836-54.220902-54.801117 0-15.131629-12.108782-27.370371-27.080776-27.370371-14.971993 0-27.080775 12.238742-27.080775 27.370371 0 30.264281-24.276916 54.801117-54.220902 54.801117-29.943986 0-54.220902-24.536836-54.220902-54.801117 0-15.131629-12.108782-27.370371-27.080776-27.370371-14.971993 0-27.080775 12.238742-27.080775 27.370371 0 30.264281-24.276916 54.801117-54.220902 54.801117-29.943986 0-54.220902-24.536836-54.220902-54.801117 0-15.131629-12.108782-27.370371-27.080775-27.370371-14.971993 0-27.080775 12.238742-27.080776 27.370371 0 30.264281-24.276916 54.801117-54.220902 54.801117s-57.494459-33.68724-57.494459-63.951521l62.50559-255.842922h640.513955l64.508199 255.842922c-0.00307 30.264281-29.67588 63.951521-59.619865 63.951521z" p-id="2964" fill="#d81e06"></path></svg>
                Homestar Runner
            </div>
            <div class="salevol">销量：2333</div>
        </div>
        <div class="goods" id="goods-3">
            <img src="img/doge.png" alt="">
            <div class="goodsname">DOGE</div>
            <div class="price">&yen;5</div>
            <div class="sellername">
                <svg t="1605618008222" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2963" width="16" height="16"><path d="M889.583614 155.560962c-1.786693-7.514137-2.490727-11.777231-4.848424-15.61463l-0.001024-0.002046h-0.001023c-4.973268-7.223518-13.295817-11.962449-22.728654-11.96245h-700.596356c-9.432837 0-17.756409 4.738931-22.728654 11.96245h-0.001023l-0.001023 0.002046c-2.358721 3.837398-3.061732 8.100492-4.848425 15.61463-1.786693 7.514137-69.845765 292.554032-69.845765 292.554032v7.653307c0 46.38954 26.00835 86.708827 63.960731 106.651019v301.108872c0 17.662265 14.3181 31.980365 31.980365 31.980365h703.567014c17.662265 0 31.980365-14.3181 31.980365-31.980365V562.41932c37.95238-19.942191 63.960731-60.261479 63.960731-106.651019v-7.653307c-0.002047 0-68.062142-285.039895-69.848835-292.554032zM383.78485 831.54885V703.627389h255.842922v127.921461H383.78485z m319.80263-159.901827c0-17.662265-14.3181-31.980365-31.980366-31.980365H351.804485c-17.662265 0-31.980365 14.3181-31.980366 31.980365v159.901827H191.902658v-256.287038c28.062126-2.434445 53.350069-14.914688 72.362075-33.897017 21.267373 21.233604 50.384527 34.342156 82.45699 34.342156 32.072463 0 61.189617-13.107529 82.458013-34.342156 21.055548 21.022803 49.807383 34.072003 81.502246 34.329876v0.011256l0.068561 0.001024c0.148379 0 0.294712-0.005117 0.443092-0.005117 0.147356 0.001023 0.294712 0.005117 0.442068 0.005117l0.068562-0.001024v-0.011256c31.715329-0.257873 61.470003-13.30605 82.525551-34.329876 21.268396 21.233604 50.384527 34.342156 82.458014 34.342156 32.072463 0 61.189617-13.107529 82.45699-34.342156 19.012006 18.98233 44.299949 31.461549 72.362074 33.897017v256.287038H703.58748v-159.901827z m132.265396-159.911036c-29.943986 0-54.220902-24.536836-54.220902-54.801117 0-15.131629-12.108782-27.370371-27.080776-27.370371-14.971993 0-27.080775 12.238742-27.080775 27.370371 0 30.264281-24.276916 54.801117-54.220902 54.801117-29.943986 0-54.220902-24.536836-54.220902-54.801117 0-15.131629-12.108782-27.370371-27.080776-27.370371-14.971993 0-27.080775 12.238742-27.080775 27.370371 0 30.264281-24.276916 54.801117-54.220902 54.801117-29.943986 0-54.220902-24.536836-54.220902-54.801117 0-15.131629-12.108782-27.370371-27.080776-27.370371-14.971993 0-27.080775 12.238742-27.080775 27.370371 0 30.264281-24.276916 54.801117-54.220902 54.801117-29.943986 0-54.220902-24.536836-54.220902-54.801117 0-15.131629-12.108782-27.370371-27.080775-27.370371-14.971993 0-27.080775 12.238742-27.080776 27.370371 0 30.264281-24.276916 54.801117-54.220902 54.801117s-57.494459-33.68724-57.494459-63.951521l62.50559-255.842922h640.513955l64.508199 255.842922c-0.00307 30.264281-29.67588 63.951521-59.619865 63.951521z" p-id="2964" fill="#d81e06"></path></svg>
                Homestar Runner
            </div>
            <div class="salevol">销量：2333</div>
        </div>

       
    </div>
    <!-- <script>alert($.cookie('sessionid'));</script> -->
    <!--显示商品内容-->
    <script src="./js/jump.js"></script>

        <script>
        

        
        
        $(document).ready(function(){

            function a(){
                $.ajax({
                    url:"http://localhost/user/displayall",
                    type: 'GET',
                    ret:'0',
                    dataType: "json",
                    
                    success: function (data) {
                        if (data.ret=="0") {
                            $("#bottom").html(data.data)
                            $("#bottom").append("<script src=\".\/js\/test.js\"><\/script>")
                        }else{
                            alert("发生错误")
                        }
                    }
                })
            }
            a();
        })

        

    </script>
    <div id="index">
        <a class="topicon tooltip" id="shoppingcar" href="" onclick=jumptomycart() >
            <svg t="1605864400644" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2801" width="200" height="200"><path d="M273.9 842a60 60 0 1 0 120 0 60 60 0 1 0-120 0zM733.9 842a60 60 0 1 0 120 0 60 60 0 1 0-120 0zM807.4 732H321.2c-17.8 0-34.8-6.7-47.8-18.8s-20.8-28.6-22.1-46.4L215.9 152h-72c-16.6 0-30-13.4-30-30s13.4-30 30-30h100c15.8 0 28.8 12.2 29.9 27.9l7.7 112.1H840c19.6 0 38.5 8.3 51.7 22.8 13.2 14.5 19.8 34 18 53.5l-32.7 360c-1.6 17.4-9.6 33.5-22.5 45.4-12.9 11.8-29.6 18.3-47.1 18.3zM285.7 292l25.6 370.7c0.1 1.8 0.8 4.4 3.2 6.6 2.4 2.2 5 2.7 6.8 2.7h486.1c1.8 0 4.4-0.5 6.7-2.6 2.4-2.2 3.1-4.7 3.2-6.5l32.7-360c0.1-1.6 0-4.8-2.6-7.6s-5.7-3.3-7.4-3.3H285.7z" p-id="2802" fill="#ffffff"></path></svg>
        </a>
        <a class="topicon tooltip" id="sale" href="" onclick=jumptomymills()>
            <svg t="1605864452023" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1200" width="200" height="200"><path d="M845 178.5H177.6c-22.4 0-40.5 17.6-40.5 39.4V454.2c0 4.6 1 8.9 2.5 12.9 6.8 34.8 27.8 64.3 56.7 83.2v278c0 21.7 17.6 39.4 39.4 39.4h551.4c21.7 0 39.4-17.6 39.4-39.4v-278c28.8-18.9 49.9-48.4 56.7-83.2 1.5-4.1 2.4-8.4 2.4-12.9V217.8c-0.1-21.8-18.2-39.3-40.6-39.3z m-77.7 630.1h-512V571.1c4.4 0.4 8.8 1.2 13.3 1.2 54.2 0 100.8-32.5 120.9-78.8h0.9c20.1 46.3 66.6 78.8 120.9 78.8 54.2 0 100.8-32.5 120.9-78.8h0.9c20.1 46.3 66.6 78.8 120.9 78.8 4.5 0 8.9-0.7 13.3-1.2v237.5z m59.1-421.7V450l-0.5 1.3-0.9 4.5c-6.4 33.2-36.3 57.4-71.1 57.4-29.1 0-55.3-17-66.7-43.2l-15.4-35.6h-77.6L578 470c-11.4 26.2-37.5 43.2-66.7 43.2-29.2 0-55.4-17-66.7-43.2l-15.4-35.6h-77.6L335.4 470c-11.4 26.2-37.6 43.2-66.7 43.2-34.7 0-64.6-24.1-71.1-57.4l-0.8-4.5-0.5-1.3V237.5h630.2v149.4z" fill="#ffffff" p-id="1201"></path></svg>
            <span class="tooltiptext">商家端</span>
        </a>
        <a  class="topicon tooltip" id="account" href="" onclick=jumptologinorhome()>
            <svg t="1605611214598" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="15371" width="200" height="200"><path d="M923.3 754.7c-22.4-50-54.4-94.8-95.2-133.2-40.6-38.3-87.8-68.3-140.4-89.3-11-4.4-22.1-8.3-33.4-11.8 12.7-8.7 24.6-18.6 35.7-29.7 47.1-47.1 73-109.6 73-176.2 0-66.5-25.9-129.1-73-176.2-47.1-47.1-109.6-73-176.2-73s-129.1 25.9-176.2 73c-47.1 47.1-73 109.6-73 176.2 0 66.5 25.9 129.1 73 176.2 10.8 10.8 22.3 20.4 34.6 28.9-12.1 3.7-24.1 7.9-36 12.6-52.6 21-99.8 51-140.4 89.3-40.8 38.4-72.8 83.2-95.2 133.2-23.3 51.9-35.1 107-35.1 163.9 0 22.1 17.9 40 40 40s40-17.9 40-40c0-186.9 162.4-339 361.9-339h8.9c199.6 0 361.9 152.1 361.9 339 0 22.1 17.9 40 40 40s40-17.9 40-40c0.2-56.8-11.6-112-34.9-163.9zM513.9 145.4c93.3 0 169.1 75.9 169.1 169.1s-75.9 169.1-169.1 169.1-169.1-75.9-169.1-169.1 75.8-169.1 169.1-169.1z" p-id="15372" fill="#ffffff"></path></svg>
        </a>
    </div>
</body>
</html>